package com.onlinesshop.mall.pojo;

import java.io.Serializable;

/**
 * 商品图片信息
 */
public class Images implements Serializable {
    private int id;
    private String images_url;  //图片url
    private int product_id;     //商品表id
    private Product product;    //商品

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImages_url() {
        return images_url;
    }

    public void setImages_url(String images_url) {
        this.images_url = images_url;
    }

    public int getProduct_id() {
        return product_id;
    }

    public void setProduct_id(int product_id) {
        this.product_id = product_id;
    }

    @Override
    public String toString() {
        return "Images{" +
                "id=" + id +
                ", images_url='" + images_url + '\'' +
                ", product_id=" + product_id +
                ", product=" + product +
                '}';
    }
}
